package com.ruoyi.ifmEnlistIand.mapper;

import java.util.List;
import com.ruoyi.ifmEnlistIand.domain.FirefighterFireTable;
import com.ruoyi.screeningDate.domain.Performance;
import org.apache.ibatis.annotations.Mapper;

/**
 * 灭火救援岗位技能科目训练登记Mapper接口
 *
 * @author ruoyi
 * @date 2024-10-29
 */
@Mapper
public interface FirefighterFireTableMapper
{
    /**
     * 查询灭火救援岗位技能科目训练登记
     *
     * @param id 灭火救援岗位技能科目训练登记主键
     * @return 灭火救援岗位技能科目训练登记
     */
    public FirefighterFireTable selectFirefighterFireTableById(Long id);

    /**
     * 查询灭火救援岗位技能科目训练登记列表
     *
     * @param firefighterFireTable 灭火救援岗位技能科目训练登记
     * @return 灭火救援岗位技能科目训练登记集合
     */
    public List<FirefighterFireTable> selectFirefighterFireTableList(FirefighterFireTable firefighterFireTable);

    /**
     * 新增灭火救援岗位技能科目训练登记
     *
     * @param firefighterFireTable 灭火救援岗位技能科目训练登记
     * @return 结果
     */
    public int insertFirefighterFireTable(FirefighterFireTable firefighterFireTable);

    /**
     * 修改灭火救援岗位技能科目训练登记
     *
     * @param firefighterFireTable 灭火救援岗位技能科目训练登记
     * @return 结果
     */
    public int updateFirefighterFireTable(FirefighterFireTable firefighterFireTable);

    /**
     * 删除灭火救援岗位技能科目训练登记
     *
     * @param id 灭火救援岗位技能科目训练登记主键
     * @return 结果
     */
    public int deleteFirefighterFireTableById(Long id);

    /**
     * 批量删除灭火救援岗位技能科目训练登记
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFirefighterFireTableByIds(Long[] ids);

    List<FirefighterFireTable> selectByNameAndId(Performance performance);
}
